package com.WISSC.mapper;

import com.WISSC.bean.Menu;
import com.WISSC.bean.Role;
import com.WISSC.bean.ztree.ZtreeBean;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author 冯政尚
 * @since 2019-06-03
 */
public interface MenuMapper extends BaseMapper<Menu> {
    List<Menu> findMenuByRole(@Param("param")Role role);

    //查询ztree
    List<ZtreeBean>findMenuZtree(@Param("id") Long id);
}
